/**
 * 
 */
package com.cipe.cmrs.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * @author Krishna
 *
 */

@Entity
@Table(name="Cacheactionablealertsmessage")
public class ActionableAlertsMessage extends BaseEntity{
	
	private static final long serialVersionUID = -2597155075245111916L;
	@Column
	String message;
	@Column
	Date date;
	@Column
	String url;
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name="actionablealertsid")
	ActionableAlert actionableAlert;
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public ActionableAlert getActionableAlert() {
		return actionableAlert;
	}
	public void setActionableAlert(ActionableAlert actionableAlert) {
		this.actionableAlert = actionableAlert;
	}
	

}
